package com.jxtc.enterprise.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "Admin 端新增结算记录所需要传递的参数")
@Getter
@Setter
@ToString
public class AddCompanySettlementRecordDTO {
    @Schema(description = "公司 ID", example = "c752804d0cd410267f404dd3f0457a57")
    @NotBlank(message = "公司 ID 不能为空")
    private String companyId;

    @Schema(description = "公司名称", example = "xx 公司")
    private String companyName;

    @Schema(description = "结算账单所属月份，yyyy-MM 格式", example = "2024-08")
    @NotBlank(message = "结算账单所属月份不能为空")
    private String month;

    @Schema(description = "结算开始时间，yyyy-MM-dd 格式", example = "2024-08-15")
    @NotBlank(message = "结算开始时间不能为空")
    private String startDate;

    @Schema(description = "结算结束时间，yyyy-MM-dd 格式", example = "2024-09-01")
    @NotBlank(message = "结算结束时间不能为空")
    private String endDate;

    @Schema(description = "距离结算结算时间多少天开始提示，单位：天", example = "3", defaultValue = "0")
    private Integer noteDay;
}
